<?php $this->pageTitle=Yii::app()->name; ?>

	<div class="ad-show">
	
	</div>
	<hr class="space"/>
	<div class="span-8 colborder">
		<?php $this->beginWidget('zii.widgets.CPortlet', array('title'=>'Notice & News',	));?>
			<?php $this->widget('application.components.latest.Latest',array(
				'limit'=>5,
				'slice'=>25,
				'timeFormat'=>'Y/m/d'
			));?>
		<?php $this->endWidget();?>
	</div>
	<div class="span-6 last">
		<?php $this->beginWidget('zii.widgets.CPortlet', array('title'=>'INPLUS',	));?>

			<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
			
            <form action="http://www.purchase.com/site/uploadremote" method="post" enctype="multipart/form-data">
            <label for="file">Filename:</label>
            <input type="file" name="file" id="file" /> 
            <br />
            <input type="submit" name="submit" value="Submit" />
            </form>

			<p>Congratulations! You have successfully created your Yii application.</p>
			
			<p>You may change the content of this page by modifying the following two files:</p>
			<ul>
				<li>View file: <tt><?php echo __FILE__; ?></tt></li>
				<li>Layout file: <tt><?php echo $this->getLayoutFile('main'); ?></tt></li>
			</ul>
			
			<p>For more details on how to further develop this application, please read
			the <a href="http://www.yiiframework.com/doc/">documentation</a>.
			Feel free to ask in the <a href="http://www.yiiframework.com/forum/">forum</a>,
			should you have any questions.</p>	

		<?php $this->endWidget();?>
	</div>
	<?php 
		$ip='127.0.0.1';
		$idADDR=new IpLocation('./public/qqwry.dat');
		print_r($idADDR->getlocation($ip));
	?>

